package com.ly.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ly.entity.JoinTeam;
import com.ly.pojo.vo.JoinTeamVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author : 黑渊白花
 * @ClassName JoinTeamMapper
 * @date : 2025/2/8 22:08
 * @Description
 */
@Mapper
public interface JoinTeamMapper extends BaseMapper<JoinTeam> {

    IPage<JoinTeamVO> getAllPage(
            @Param("page") IPage<JoinTeamVO> page,
            String userName, String teamName);

    IPage<JoinTeamVO> getPage(
            @Param("page") IPage<JoinTeamVO> page,
            Integer teamId,String userName, Integer status);
}
